{% extends "menu.html" %}
{% block content %}

        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">



            </div>
            <div class="clearfix"></div>
            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2><a href="/cloud/list/?server=tencent&status=refresh">刷新主机列表</a>  | <a href="/cloud/list/?server=tencent&status=show">查看主机列表</a>
                    | <a href="/cloud/list/?server=tencent&status=project">项目</a>|<a href="/cloud/list/?server=tencent&status=del">一键清理</a> </h2>

                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">


                    <table class="sui-table table-bordered table-sideheader">
                      <thead>
                        <tr>
                            <th>id</th>
                            <th>cvm_InstanceId</th>
                            <th>cvm_InstanceName</th>
                            <th>cvm_CPU</th>
                            <th>cvm_Memory</th>
                            <th>cvm_SystemDisk_DiskSize</th>
                            <th>cvm_PrivateIpAddresses</th>
                            <th>cvm_PublicIpAddresses</th>
                            <th>cvm_OsName</th>
                            <th>project</th>
                            <th>管理</th>

                        </tr>
                      </thead>
                      <tbody>
                      {% for cvm in cvm_list %}
                        <tr>
                          <td>{{ cvm.id }}</td>
                          <td>{{ cvm.cvm_InstanceId }}</td>
                          <td>{{ cvm.cvm_InstanceName }}</td>
                          <td>{{ cvm.cvm_CPU }}</td>
                          <td>{{ cvm.cvm_Memory }}</td>
                            <td>{{ cvm.cvm_SystemDisk_DiskSize }}</td>
                            <td>{{ cvm.cvm_PrivateIpAddresses }}</td>
                            <td>{{ cvm.cvm_PublicIpAddresses }}</td>
                            <td>{{ cvm.cvm_OsName }}</td>
                            <td>{{ cvm.cvm_ProjectId__name }}</td>
                            <td><a href="/cloud/list/?server=tencent&status=del&id={{ cvm.id }}">删除</a> </td>
                        </tr>
                        {% endfor %}
                      </tbody>
                    </table>
                  </div>
                </div>
              </div>
            </div>


          </div>
        </div>
{% endblock %}